package com.tfb.rong;

import java.util.Date;
import java.util.List;

import org.codehaus.jackson.map.annotate.JsonDeserialize;
import org.codehaus.jackson.map.annotate.JsonSerialize;

public class Medication_HomeRemedyRecord {

    private String                         service_name;
    private String                         allergies_item;
    List<Medication_HomeRemedyRecord_item> allergies_data;
    private String                         name;
    private Integer                        option;
    private String                         signature;
    private Date                           signdate;
    private String                         assessor;
    private Date                           date;
    private String                         agentsign;
    private Date                           agentsigndate;
    private String                         relationship;

    public String getService_name() {
        return service_name;
    }

    public void setService_name(String service_name) {
        this.service_name = service_name;
    }

    public String getAllergies_item() {
        return allergies_item;
    }

    public void setAllergies_item(String allergies_item) {
        this.allergies_item = allergies_item;
    }

    public List<Medication_HomeRemedyRecord_item> getAllergies_data() {
        return allergies_data;
    }

    public void setAllergies_data(List<Medication_HomeRemedyRecord_item> allergies_data) {
        this.allergies_data = allergies_data;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public String getAgentsign() {
        return agentsign;
    }

    public void setAgentsign(String agentsign) {
        this.agentsign = agentsign;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getOption() {
        return option;
    }

    public void setOption(Integer option) {
        this.option = option;
    }

    @JsonSerialize(using = CustomJsonDateSerializer.class)
    public Date getSigndate() {
        return signdate;
    }

    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    public void setSigndate(Date signdate) {
        this.signdate = signdate;
    }

    public String getAssessor() {
        return assessor;
    }

    public void setAssessor(String assessor) {
        this.assessor = assessor;
    }

    @JsonSerialize(using = CustomJsonDateSerializer.class)
    public Date getDate() {
        return date;
    }

    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    public void setDate(Date date) {
        this.date = date;
    }

    @JsonSerialize(using = CustomJsonDateSerializer.class)
    public Date getAgentsigndate() {
        return agentsigndate;
    }

    @JsonDeserialize(using = CustomJsonDateDeserializer.class)
    public void setAgentsigndate(Date agentsigndate) {
        this.agentsigndate = agentsigndate;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }
}
